{
	var map = json_beautiful_load(global.SelfDirectory+"Config.json");
	var display = map[? "display"];
	global.display = [display[? "width"],display[? "height"],display[? "fullscreen"]];
	ds_map_destroy(display);
	var control = map[? "control"];
	global.upKey = control[? "up"];
	global.downKey = control[? "down"];
	global.leftKey = control[? "left"];
	global.rightKey = control[? "right"];
	global.enterKey = control[? "enter"];
	global.cancelKey = control[? "cancel"];
	var tem = control[? "skill"];
	//show_debug_message(ds_exists(tem,ds_type_list));
	if(ds_exists(tem,ds_type_list)){
		global.skillKey = ds_list_create();
		ds_list_copy(global.skillKey,tem);
	}else{
		global.skillKey = ds_list_create();
		ds_list_add(global.skillKey,ord("U"));
		ds_list_add(global.skillKey,ord("I"));
		ds_list_add(global.skillKey,ord("O"));
	}
	ds_map_destroy(control);
	ds_map_destroy(map);
}